package com.dcivision.framework.taglib.channel;

import java.io.IOException;
import java.io.Reader;
import java.io.Writer;

import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.BodyContent;

/**
 * Support JspTag to AjaxTag
 * @author TC.tang
 * @createDate 2006-11-2
 */
public class AjaxBodyContent extends BodyContent {
  
  private JspWriter out = null;
  
  protected AjaxBodyContent(JspWriter arg0) {
    super(arg0);
    out = arg0;
  }
  

  public Reader getReader() {
    
    return null;
  }

  public String getString() {
    
    return null;
  }

  public void writeOut(Writer arg0) throws IOException {
    arg0.write(((AjaxWriter)out).getContent().toString());
  }

  public void clear() throws IOException {
    

  }

  public void clearBuffer() throws IOException {
    

  }

  public void close() throws IOException {
    

  }

  public int getRemaining() {
    
    return 0;
  }

  public void newLine() throws IOException {
    

  }

  public void print(boolean arg0) throws IOException {
    

  }

  public void print(char arg0) throws IOException {
    

  }

  public void print(int arg0) throws IOException {
    

  }

  public void print(long arg0) throws IOException {
    

  }

  public void print(float arg0) throws IOException {
    

  }

  public void print(double arg0) throws IOException {
    

  }

  public void print(char[] arg0) throws IOException {
    

  }

  public void print(String arg0) throws IOException {
    

  }

  public void print(Object arg0) throws IOException {
    

  }

  public void println() throws IOException {
    

  }

  public void println(boolean arg0) throws IOException {
    

  }

  public void println(char arg0) throws IOException {
    

  }

  public void println(int arg0) throws IOException {
    

  }

  public void println(long arg0) throws IOException {
    

  }

  public void println(float arg0) throws IOException {
    

  }

  public void println(double arg0) throws IOException {
    

  }

  public void println(char[] arg0) throws IOException {
    

  }

  public void println(String arg0) throws IOException {
    

  }

  public void println(Object arg0) throws IOException {
    

  }

  public void write(char[] cbuf, int off, int len) throws IOException {
    

  }


  public JspWriter getOut() {
    return out;
  }


  public void setOut(JspWriter out) {
    this.out = out;
  }

}
